﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="buyer_pwdEdit.aspx.cs"
    Inherits="PeisongWeb.buyer_pwdEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>采购配送系统-密码修改</title>
    <!--#include file="../global.inc" -->
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <uc1:headerV2 runat="server" ID="header1" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color1">密码修改</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <div class="left">
                        <div class="login" id="div_reg_2">
                            <div class="login_title">
                                <span>密码修改</span>
                            </div>
                            <div class="login_main">
                                <ul>
                                    <li>
                                        <label>
                                            <span style="color: #FF0000">*</span>当前密码：</label>
                                        <asp:TextBox ID="txt_oldPassword" runat="server" TextMode="Password" MaxLength="50"></asp:TextBox>
                                        <span class="tips">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入旧密码！"
                                                ControlToValidate="txt_oldPassword" Display="Dynamic"></asp:RequiredFieldValidator>
                                        </span></li>
                                    <li>
                                        <label>
                                            <span style="color: #FF0000">*</span>新密码：</label>
                                        <asp:TextBox ID="txt_password" runat="server" TextMode="Password" MaxLength="50"></asp:TextBox>
                                        <span class="tips">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入新密码！"
                                                ControlToValidate="txt_password" Display="Dynamic"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txt_password"
                                                ErrorMessage="密码应为6-14个字符加数字的形式" ValidationExpression="^(?![a-zA-Z]+$)(?![0-9]+$)[a-zA-Z0-9]{6,14}$"
                                                Display="Dynamic"></asp:RegularExpressionValidator>
                                        </span></li>
                                    <li>
                                        <label>
                                            <span style="color: #FF0000">*</span>确认密码：</label>
                                        <asp:TextBox ID="txt_password2" runat="server" TextMode="Password" MaxLength="50"></asp:TextBox>
                                        <span class="tips">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请您再次输入新密码以确认！"
                                                ControlToValidate="txt_password2" Display="Dynamic"></asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txt_password"
                                                ControlToValidate="txt_password2" ErrorMessage="两次输入的密码不一样，请重输！" Display="Dynamic"></asp:CompareValidator>
                                        </span></li>
                                    <li style="padding-left: 140px;">
                                        <asp:Button runat="server" ID="lbtn_Submit" CssClass="button_red_text button_red"
                                            OnClick="lbtn_Submit_Click" Text="确定" />
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="right">
                        <div class="right_login">
                            <ul>
                                <li style="color: #255966">如何修改密码？</li>
                                <li>&nbsp;</li>
                                <li>输入当前密码，</li>
                                <li>带<span style="color: Red">*</span>号的为必填项</li>
                                <li>保存后修改完成。</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <uc1:footerV2 runat="server" ID="footer1" />
    </div>
    </form>
</body>
</html>
